Integrand size = 20, antiderivative size = 3123 \[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=-\frac {2 i b^2 x^{7/2}}{a^2 \left (a^2-b^2\right ) d}+\frac {x^4}{4 a^2}+\frac {14 b^2 x^3 \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^2}+\frac {14 b^2 x^3 \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^2}-\frac {2 i b^3 x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d}+\frac {4 i b x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d}+\frac {2 i b^3 x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d}-\frac {4 i b x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d}-\frac {84 i b^2 x^{5/2} \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^3}-\frac {84 i b^2 x^{5/2} \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^3}-\frac {14 b^3 x^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^2}+\frac {28 b x^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^2}+\frac {14 b^3 x^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^2}-\frac {28 b x^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^2}+\frac {420 b^2 x^2 \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^4}+\frac {420 b^2 x^2 \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^4}-\frac {84 i b^3 x^{5/2} \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^3}+\frac {168 i b x^{5/2} \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^3}+\frac {84 i b^3 x^{5/2} \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^3}-\frac {168 i b x^{5/2} \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^3}+\frac {1680 i b^2 x^{3/2} \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^5}+\frac {1680 i b^2 x^{3/2} \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^5}+\frac {420 b^3 x^2 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^4}-\frac {840 b x^2 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^4}-\frac {420 b^3 x^2 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^4}+\frac {840 b x^2 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^4}-\frac {5040 b^2 x \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^6}-\frac {5040 b^2 x \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^6}+\frac {1680 i b^3 x^{3/2} \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^5}-\frac {3360 i b x^{3/2} \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^5}-\frac {1680 i b^3 x^{3/2} \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^5}+\frac {3360 i b x^{3/2} \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^5}-\frac {10080 i b^2 \sqrt {x} \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^7}-\frac {10080 i b^2 \sqrt {x} \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^7}-\frac {5040 b^3 x \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^6}+\frac {10080 b x \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^6}+\frac {5040 b^3 x \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^6}-\frac {10080 b x \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^6}+\frac {10080 b^2 \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^8}+\frac {10080 b^2 \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^8}-\frac {10080 i b^3 \sqrt {x} \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^7}+\frac {20160 i b \sqrt {x} \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^7}+\frac {10080 i b^3 \sqrt {x} \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^7}-\frac {20160 i b \sqrt {x} \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^7}+\frac {10080 b^3 \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^8}-\frac {20160 b \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^8}-\frac {10080 b^3 \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d^8}+\frac {20160 b \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^8}+\frac {2 b^2 x^{7/2} \sin \left (c+d \sqrt {x}\right )}{a \left (a^2-b^2\right ) d \left (b+a \cos \left (c+d \sqrt {x}\right )\right )} \]
[Out]
Time = 5.09 (sec) , antiderivative size = 3123, normalized size of antiderivative = 1.00, number of steps used = 61, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.550, Rules used = {4289, 4276, 3405, 3402, 2296, 2221, 2611, 6744, 2320, 6724, 4618} \[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=\frac {x^4}{4 a^2}+\frac {4 i b \log \left (\frac {e^{i \left (c+d \sqrt {x}\right )} a}{b-\sqrt {b^2-a^2}}+1\right ) x^{7/2}}{a^2 \sqrt {b^2-a^2} d}-\frac {2 i b^3 \log \left (\frac {e^{i \left (c+d \sqrt {x}\right )} a}{b-\sqrt {b^2-a^2}}+1\right ) x^{7/2}}{a^2 \left (b^2-a^2\right )^{3/2} d}-\frac {4 i b \log \left (\frac {e^{i \left (c+d \sqrt {x}\right )} a}{b+\sqrt {b^2-a^2}}+1\right ) x^{7/2}}{a^2 \sqrt {b^2-a^2} d}+\frac {2 i b^3 \log \left (\frac {e^{i \left (c+d \sqrt {x}\right )} a}{b+\sqrt {b^2-a^2}}+1\right ) x^{7/2}}{a^2 \left (b^2-a^2\right )^{3/2} d}+\frac {2 b^2 \sin \left (c+d \sqrt {x}\right ) x^{7/2}}{a \left (a^2-b^2\right ) d \left (b+a \cos \left (c+d \sqrt {x}\right )\right )}-\frac {2 i b^2 x^{7/2}}{a^2 \left (a^2-b^2\right ) d}+\frac {14 b^2 \log \left (\frac {e^{i \left (c+d \sqrt {x}\right )} a}{b-i \sqrt {a^2-b^2}}+1\right ) x^3}{a^2 \left (a^2-b^2\right ) d^2}+\frac {14 b^2 \log \left (\frac {e^{i \left (c+d \sqrt {x}\right )} a}{b+i \sqrt {a^2-b^2}}+1\right ) x^3}{a^2 \left (a^2-b^2\right ) d^2}+\frac {28 b \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^3}{a^2 \sqrt {b^2-a^2} d^2}-\frac {14 b^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^3}{a^2 \left (b^2-a^2\right )^{3/2} d^2}-\frac {28 b \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^3}{a^2 \sqrt {b^2-a^2} d^2}+\frac {14 b^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^3}{a^2 \left (b^2-a^2\right )^{3/2} d^2}-\frac {84 i b^2 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right ) x^{5/2}}{a^2 \left (a^2-b^2\right ) d^3}-\frac {84 i b^2 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right ) x^{5/2}}{a^2 \left (a^2-b^2\right ) d^3}+\frac {168 i b \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^{5/2}}{a^2 \sqrt {b^2-a^2} d^3}-\frac {84 i b^3 \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^{5/2}}{a^2 \left (b^2-a^2\right )^{3/2} d^3}-\frac {168 i b \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^{5/2}}{a^2 \sqrt {b^2-a^2} d^3}+\frac {84 i b^3 \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^{5/2}}{a^2 \left (b^2-a^2\right )^{3/2} d^3}+\frac {420 b^2 \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right ) x^2}{a^2 \left (a^2-b^2\right ) d^4}+\frac {420 b^2 \operatorname {PolyLog}\left (3,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right ) x^2}{a^2 \left (a^2-b^2\right ) d^4}-\frac {840 b \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^2}{a^2 \sqrt {b^2-a^2} d^4}+\frac {420 b^3 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^2}{a^2 \left (b^2-a^2\right )^{3/2} d^4}+\frac {840 b \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^2}{a^2 \sqrt {b^2-a^2} d^4}-\frac {420 b^3 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^2}{a^2 \left (b^2-a^2\right )^{3/2} d^4}+\frac {1680 i b^2 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right ) x^{3/2}}{a^2 \left (a^2-b^2\right ) d^5}+\frac {1680 i b^2 \operatorname {PolyLog}\left (4,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right ) x^{3/2}}{a^2 \left (a^2-b^2\right ) d^5}-\frac {3360 i b \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^{3/2}}{a^2 \sqrt {b^2-a^2} d^5}+\frac {1680 i b^3 \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x^{3/2}}{a^2 \left (b^2-a^2\right )^{3/2} d^5}+\frac {3360 i b \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^{3/2}}{a^2 \sqrt {b^2-a^2} d^5}-\frac {1680 i b^3 \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x^{3/2}}{a^2 \left (b^2-a^2\right )^{3/2} d^5}-\frac {5040 b^2 \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right ) x}{a^2 \left (a^2-b^2\right ) d^6}-\frac {5040 b^2 \operatorname {PolyLog}\left (5,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right ) x}{a^2 \left (a^2-b^2\right ) d^6}+\frac {10080 b \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x}{a^2 \sqrt {b^2-a^2} d^6}-\frac {5040 b^3 \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) x}{a^2 \left (b^2-a^2\right )^{3/2} d^6}-\frac {10080 b \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x}{a^2 \sqrt {b^2-a^2} d^6}+\frac {5040 b^3 \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) x}{a^2 \left (b^2-a^2\right )^{3/2} d^6}-\frac {10080 i b^2 \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right ) \sqrt {x}}{a^2 \left (a^2-b^2\right ) d^7}-\frac {10080 i b^2 \operatorname {PolyLog}\left (6,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right ) \sqrt {x}}{a^2 \left (a^2-b^2\right ) d^7}+\frac {20160 i b \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) \sqrt {x}}{a^2 \sqrt {b^2-a^2} d^7}-\frac {10080 i b^3 \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right ) \sqrt {x}}{a^2 \left (b^2-a^2\right )^{3/2} d^7}-\frac {20160 i b \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) \sqrt {x}}{a^2 \sqrt {b^2-a^2} d^7}+\frac {10080 i b^3 \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right ) \sqrt {x}}{a^2 \left (b^2-a^2\right )^{3/2} d^7}+\frac {10080 b^2 \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^8}+\frac {10080 b^2 \operatorname {PolyLog}\left (7,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^8}-\frac {20160 b \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right )}{a^2 \sqrt {b^2-a^2} d^8}+\frac {10080 b^3 \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {b^2-a^2}}\right )}{a^2 \left (b^2-a^2\right )^{3/2} d^8}+\frac {20160 b \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right )}{a^2 \sqrt {b^2-a^2} d^8}-\frac {10080 b^3 \operatorname {PolyLog}\left (8,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {b^2-a^2}}\right )}{a^2 \left (b^2-a^2\right )^{3/2} d^8} \]
[In]
[Out]
Rule 2221
Rule 2296
Rule 2320
Rule 2611
Rule 3402
Rule 3405
Rule 4276
Rule 4289
Rule 4618
Rule 6724
Rule 6744
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int \frac {x^7}{(a+b \sec (c+d x))^2} \, dx,x,\sqrt {x}\right ) \\ & = 2 \text {Subst}\left (\int \left (\frac {x^7}{a^2}+\frac {b^2 x^7}{a^2 (b+a \cos (c+d x))^2}-\frac {2 b x^7}{a^2 (b+a \cos (c+d x))}\right ) \, dx,x,\sqrt {x}\right ) \\ & = \frac {x^4}{4 a^2}-\frac {(4 b) \text {Subst}\left (\int \frac {x^7}{b+a \cos (c+d x)} \, dx,x,\sqrt {x}\right )}{a^2}+\frac {\left (2 b^2\right ) \text {Subst}\left (\int \frac {x^7}{(b+a \cos (c+d x))^2} \, dx,x,\sqrt {x}\right )}{a^2} \\ & = \frac {x^4}{4 a^2}+\frac {2 b^2 x^{7/2} \sin \left (c+d \sqrt {x}\right )}{a \left (a^2-b^2\right ) d \left (b+a \cos \left (c+d \sqrt {x}\right )\right )}-\frac {(8 b) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^7}{a+2 b e^{i (c+d x)}+a e^{2 i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a^2}-\frac {\left (2 b^3\right ) \text {Subst}\left (\int \frac {x^7}{b+a \cos (c+d x)} \, dx,x,\sqrt {x}\right )}{a^2 \left (a^2-b^2\right )}-\frac {\left (14 b^2\right ) \text {Subst}\left (\int \frac {x^6 \sin (c+d x)}{b+a \cos (c+d x)} \, dx,x,\sqrt {x}\right )}{a \left (a^2-b^2\right ) d} \\ & = -\frac {2 i b^2 x^{7/2}}{a^2 \left (a^2-b^2\right ) d}+\frac {x^4}{4 a^2}+\frac {2 b^2 x^{7/2} \sin \left (c+d \sqrt {x}\right )}{a \left (a^2-b^2\right ) d \left (b+a \cos \left (c+d \sqrt {x}\right )\right )}-\frac {\left (4 b^3\right ) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^7}{a+2 b e^{i (c+d x)}+a e^{2 i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a^2 \left (a^2-b^2\right )}-\frac {(8 b) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^7}{2 b-2 \sqrt {-a^2+b^2}+2 a e^{i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a \sqrt {-a^2+b^2}}+\frac {(8 b) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^7}{2 b+2 \sqrt {-a^2+b^2}+2 a e^{i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a \sqrt {-a^2+b^2}}-\frac {\left (14 b^2\right ) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^6}{i b-\sqrt {a^2-b^2}+i a e^{i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a \left (a^2-b^2\right ) d}-\frac {\left (14 b^2\right ) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^6}{i b+\sqrt {a^2-b^2}+i a e^{i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a \left (a^2-b^2\right ) d} \\ & = -\frac {2 i b^2 x^{7/2}}{a^2 \left (a^2-b^2\right ) d}+\frac {x^4}{4 a^2}+\frac {14 b^2 x^3 \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^2}+\frac {14 b^2 x^3 \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^2}+\frac {4 i b x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d}-\frac {4 i b x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d}+\frac {2 b^2 x^{7/2} \sin \left (c+d \sqrt {x}\right )}{a \left (a^2-b^2\right ) d \left (b+a \cos \left (c+d \sqrt {x}\right )\right )}+\frac {\left (4 b^3\right ) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^7}{2 b-2 \sqrt {-a^2+b^2}+2 a e^{i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a \left (-a^2+b^2\right )^{3/2}}-\frac {\left (4 b^3\right ) \text {Subst}\left (\int \frac {e^{i (c+d x)} x^7}{2 b+2 \sqrt {-a^2+b^2}+2 a e^{i (c+d x)}} \, dx,x,\sqrt {x}\right )}{a \left (-a^2+b^2\right )^{3/2}}-\frac {\left (84 b^2\right ) \text {Subst}\left (\int x^5 \log \left (1+\frac {i a e^{i (c+d x)}}{i b-\sqrt {a^2-b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \left (a^2-b^2\right ) d^2}-\frac {\left (84 b^2\right ) \text {Subst}\left (\int x^5 \log \left (1+\frac {i a e^{i (c+d x)}}{i b+\sqrt {a^2-b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \left (a^2-b^2\right ) d^2}-\frac {(28 i b) \text {Subst}\left (\int x^6 \log \left (1+\frac {2 a e^{i (c+d x)}}{2 b-2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \sqrt {-a^2+b^2} d}+\frac {(28 i b) \text {Subst}\left (\int x^6 \log \left (1+\frac {2 a e^{i (c+d x)}}{2 b+2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \sqrt {-a^2+b^2} d} \\ & = -\frac {2 i b^2 x^{7/2}}{a^2 \left (a^2-b^2\right ) d}+\frac {x^4}{4 a^2}+\frac {14 b^2 x^3 \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^2}+\frac {14 b^2 x^3 \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^2}-\frac {2 i b^3 x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d}+\frac {4 i b x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d}+\frac {2 i b^3 x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d}-\frac {4 i b x^{7/2} \log \left (1+\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d}-\frac {84 i b^2 x^{5/2} \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^3}-\frac {84 i b^2 x^{5/2} \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+i \sqrt {a^2-b^2}}\right )}{a^2 \left (a^2-b^2\right ) d^3}+\frac {28 b x^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b-\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^2}-\frac {28 b x^3 \operatorname {PolyLog}\left (2,-\frac {a e^{i \left (c+d \sqrt {x}\right )}}{b+\sqrt {-a^2+b^2}}\right )}{a^2 \sqrt {-a^2+b^2} d^2}+\frac {2 b^2 x^{7/2} \sin \left (c+d \sqrt {x}\right )}{a \left (a^2-b^2\right ) d \left (b+a \cos \left (c+d \sqrt {x}\right )\right )}+\frac {\left (420 i b^2\right ) \text {Subst}\left (\int x^4 \operatorname {PolyLog}\left (2,-\frac {i a e^{i (c+d x)}}{i b-\sqrt {a^2-b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \left (a^2-b^2\right ) d^3}+\frac {\left (420 i b^2\right ) \text {Subst}\left (\int x^4 \operatorname {PolyLog}\left (2,-\frac {i a e^{i (c+d x)}}{i b+\sqrt {a^2-b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \left (a^2-b^2\right ) d^3}-\frac {(168 b) \text {Subst}\left (\int x^5 \operatorname {PolyLog}\left (2,-\frac {2 a e^{i (c+d x)}}{2 b-2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \sqrt {-a^2+b^2} d^2}+\frac {(168 b) \text {Subst}\left (\int x^5 \operatorname {PolyLog}\left (2,-\frac {2 a e^{i (c+d x)}}{2 b+2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \sqrt {-a^2+b^2} d^2}+\frac {\left (14 i b^3\right ) \text {Subst}\left (\int x^6 \log \left (1+\frac {2 a e^{i (c+d x)}}{2 b-2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d}-\frac {\left (14 i b^3\right ) \text {Subst}\left (\int x^6 \log \left (1+\frac {2 a e^{i (c+d x)}}{2 b+2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a^2 \left (-a^2+b^2\right )^{3/2} d} \\ & = \text {Too large to display} \\ \end{align*}
Time = 15.37 (sec) , antiderivative size = 3702, normalized size of antiderivative = 1.19 \[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=\text {Result too large to show} \]
[In]
[Out]
\[\int \frac {x^{3}}{\left (a +b \sec \left (c +d \sqrt {x}\right )\right )^{2}}d x\]
[In]
[Out]
\[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int { \frac {x^{3}}{{\left (b \sec \left (d \sqrt {x} + c\right ) + a\right )}^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int \frac {x^{3}}{\left (a + b \sec {\left (c + d \sqrt {x} \right )}\right )^{2}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int { \frac {x^{3}}{{\left (b \sec \left (d \sqrt {x} + c\right ) + a\right )}^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^3}{\left (a+b \sec \left (c+d \sqrt {x}\right )\right )^2} \, dx=\int \frac {x^3}{{\left (a+\frac {b}{\cos \left (c+d\,\sqrt {x}\right )}\right )}^2} \,d x \]
[In]
[Out]